package com.kingyun.gpsinspection.purificationservice.dao.mapper.tdm;


import com.kingyun.gpsinspection.purificationservice.facade.model.tdm.PatrolInspection;
import com.kingyun.gpsinspection.purificationservice.facade.model.tdm.PatrolInspectionVo;

public interface PatrolInspectionMapper {
    int deleteByPrimaryKey(String patrolInspectionId);

    int insert(PatrolInspection record);

    int insertSelective(PatrolInspection record);

    PatrolInspection selectByPrimaryKey(String patrolInspectionId);

    int updateByPrimaryKeySelective(PatrolInspection record);

    int updateByPrimaryKey(PatrolInspection record);

    PatrolInspectionVo selectByPrimaryKeyNew(String patrolInspectionId);

    int updateByPrimaryKeyNew(PatrolInspection record);

    PatrolInspectionVo findVoByPiPiid(String piPiid);

    int updateTaskStatusExecutedById(PatrolInspection patrolInspection);

    int updateAuditStatusById(PatrolInspection patrolInspection);

    int updateFinishById(PatrolInspection patrolInspection);
}